package model.member.dao;

import java.util.List;

import model.member.dto.EventDto;
import model.member.dto.FavorDto;
import model.member.dto.MemberDto;
import model.member.dto.ZipcodeDto;

import common.SearchDto;

public interface MemberDao {

	MemberDto login(MemberDto dto);

	int useridCheck(String userid);

	List<ZipcodeDto> zipcodeList(String dong);

	int memberInsert(MemberDto dto);

	List<MemberDto> memberList(SearchDto search);

	int memberCount(SearchDto search);

	void mbLevelUpdate(MemberDto dto);

	MemberDto memberDetail(String userid);

	void favoridInsert(MemberDto dto);

	int favoridCheck(MemberDto dto);

	List<FavorDto> myMemberList(String userid);

	List<FavorDto> myRecipeList(String userid);

	void favoridDelete(FavorDto dto);

	void favorRecipeDelete(FavorDto dto);

	List<EventDto> myEvents(String userid);

	void favorRecipeInsert(MemberDto dto);

	int favorRecipeCheck(MemberDto dto);

}
